package com.xcjh.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 视频推荐返回
 */
@Data
@NoArgsConstructor
public class VideoRecommendVo {
    //关注
    public static final String FOLLOWSTATE_FOLLOW = "follow";
    //取消关注
    public static final String FOLLOWSTATE_CANCEL = "cancel";
    //点赞
    public static final String FABULOUSORCANCEL_FABULOUS = "fabulous";
    //取消点赞
    public static final String FABULOUSORCANCEL_CANCEL = "cancel";
    //收藏
    public static final String COLLECTIONSTATE_COLLECTION = "collection";
    //取消收藏
    public static final String COLLECTIONSTATE_CANCEL = "cancel";

    public static final String VIDEOSTATE_FABULOUS = "fabulous";
    public static final String VIDEOSTATE_COLLECTION = "collection";
    public static final String VIDEOSTATE_WORKS = "works";
    public static final String VIDEOSTATE_PRIVATE = "private";



    //视频id
    private Long videoId;
    private Long id;
    //视频作者id
    private Long userId;
    private Long videoAuthorId;
    //视频标题
    private String videoTitle;
    //视频类型
    private String videoLabel;
    //视频作者名字
    private String userName;
    //视频地址
    private String videoUrl;
    //视频获赞数
    private Integer likes;
    //视频评论数
    private Integer comments;
    //视频收礼数
    private Integer gifts;
    //视频转发数
    private Integer forwards;
    //视频收藏数
    private Integer collections;
    //音乐名字
    private String musicName;
    //音乐地址
    private String musicUrl;
    //音乐id
    private Long musicId;
    //作者头像
    private String headPortrait;
    //关注状态
    private String userFollowState;
    //点赞状态
    private String fabulousState;
    //收藏状态
    private String collectionState;
    //是否观看过状态
    private Boolean browse;
    //视频的创建时间
    private Date createTime;
    //当前作品是 私密 喜欢 收藏状态
    private String videoState;
    // 下面的暂时先放这里
    private String videoCover;
    private String existence;
    public VideoRecommendVo(Long id, Integer likes, String videoCover, String existence) {
        this.id = id;
        this.likes = likes;
        this.videoCover = videoCover;
        this.existence = existence;
    }
}
